{% extends 'HerzultForumBundle::layout.html.twig' %}
{% block title %}Liste des forums - {{ parent() }}{% endblock %}
{% block content %}
<h1 class="title">Liste des forums</h1>

<div class="forum forum_index">
    <div class="main topics">
        <h2>Derniers sujets</h2>
        {% render 'HerzultForumBundle:Topic:list' with {'categorySlug': null, 'pagerOptions': {'page': page}} %}
    </div>
    <div class="side categories">
        <h2>Sujets du Forum</h2>
        {% render 'HerzultForumBundle:Category:list' %}
    </div>
</div>
{% endblock %}